package com.qk.management.service;

import com.qk.common.PageResult;
import com.qk.entity.Activity;

import java.util.List;


public interface ActivityService {
    PageResult<Activity> page(Integer channel, Integer type, Integer status, Integer page, Integer pageSize);
    void add(Activity activity);
    Activity getById(Integer id);
    void update(Activity activity);
    void deleteById(Integer id);

    List<Activity> getActivityByType(String type);
}
